<script>
    if ("undefined" == typeof STATUS) {
        console.log(111);
        window.location.href = "../../index.html";
    }
</script>

<link rel="stylesheet" href="./modules/system/stream/stream.css">

<div class="row">
    <div class="col-12">
        <div class="card" id="streamMonitor">
            <div class="card-header">
                <h3>多源流量监测</h3>
            </div>
            <div class="card-body">
                <div id="streamMonitorChart"></div>
            </div>
        </div>
    </div>
</div>

<div class="divider"></div>

<div class="row">
    <div class="col-4">
        <div class="card" id="protocolType">
            <div class="card-header">
                <h3>访问协议类型监视</h3>
            </div>
            <div class="card-body">
                <div id="protocolTypeChart"></div>
            </div>
        </div>
    </div>
    <div class="col-4">
        <div class="card" id="responseCode">
            <div class="card-header">
                <h3>HTTP响应状态监视</h3>
            </div>
            <div class="card-body">
                <div id="responseCodeChart"></div>
            </div>
        </div>
    </div>
    <div class="col-4">
        <div class="card" id="streamAlert">
            <div class="card-header">
                <h3>最新流量告警</h3>
            </div>
            <div class="card-body">
                <table id="streamAlertTable" class="display" style="width: 100%"></table>
            </div>
        </div>
    </div>
</div>

<script src="./modules/system/stream/stream.echarts.js"></script>
<script src="./modules/system/stream/stream.js"></script>